package com.chenyue.cm.group.service.impl;


import java.io.Serializable;

import javax.annotation.Resource;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chenyue.cm.base.service.BaseServiceImpl;
import com.chenyue.cm.base.dao.LcBaseMapper;
import org.springframework.beans.factory.annotation.Qualifier;
import com.chenyue.cm.group.dao.JdGroupMapper;
import com.chenyue.cm.group.domain.JdGroup;
import com.chenyue.cm.group.service.JdGroupService;
import org.springframework.stereotype.Service;


/**
 * @author chenyue-cm
 */
@Service(value = "JdGroupService")
public class JdGroupServiceImpl extends BaseServiceImpl<JdGroup> implements JdGroupService {

    private final JdGroupMapper jdGroupMapper;

    public JdGroupServiceImpl(@Qualifier("jdGroupMapper") JdGroupMapper jdGroupMapper) {
        this.jdGroupMapper = jdGroupMapper;
    }

    @Override
    @Resource(name = "jdGroupMapper")
    public void setBaseMapper(LcBaseMapper<JdGroup, Serializable> baseMapper) {
        this.baseMapper = baseMapper;
    }

}
